WooCommerce\Square\Framework\PaymentGateway\Admin\Payment_Gateway_Admin_Order A

Total Complexity 75
Dependencies 9
Dependents 1
Total lines 520
Lines of code 265
Logical lines of code 154
Comment lines 145
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
add_capture_button()
A
43 16 45
ajax_process_capture()
A
43 9 49
enqueue_scripts()
A
55 10 18
process_capture_charge_bulk_order_action()
A
49 9 31
maybe_add_capture_charge_bulk_order_action()
S
51 7 28
hpos_process_capture_charge_bulk_order_action()
S
57 7 16
maybe_add_capture_charge_bulk_actions()
S
56 6 17
get_order_gateway()
S
63 3 11
__construct()
S
60 2 12
enqueue_edit_order_assets()
S
55 1 18
is_order_ready_for_capture()
S
67 2 8
output_partial_capture_html()
S
69 1 6
get_plugin()
S
82 1 3
maybe_capture_paid_order()
S
80 1 3